package com.gzhu.knowledgeAdmin.repository;

import com.gzhu.knowledgeAdmin.entity.AnswerType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 话术模板类型 dao
 * Integer 为主键类型
 */
@Repository(value = "answerTypeRepository")
public interface AnswerTypeRepository extends JpaRepository<AnswerType,Integer> {
    AnswerType getAnswerTypeByName(String name);
}
